﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SelectProduct.ascx.cs" Inherits="CanDoo.Oil.WebApp.UserControls.SelectProduct" %>
<f:Panel ID="Panel7" runat="server" BodyPadding="5px" Width="650px" Height="300px" Hidden="true"
    ShowBorder="true" ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch">
    <Items>
        <f:Form ID="Form2" runat="server" ShowHeader="false"
            ShowBorder="false">
            <Rows>
                <f:FormRow ID="FormRowSearch" runat="server">
                    <Items>
                        <f:TwinTriggerBox ID="SearchKey" runat="server" ShowLabel="false" EmptyText="在名称中搜索"
                            Trigger1Icon="Clear" Trigger2Icon="Search" ShowTrigger1="false" OnTrigger2Click="search_Key_Trigger2Click"
                            OnTrigger1Click="search_Key_Trigger1Click">
                        </f:TwinTriggerBox>
                    </Items>
                </f:FormRow>
            </Rows>
        </f:Form>
        <f:Grid ID="SelectProductControl_GridList" BoxFlex="1"
            DataIDField="Id" DataTextField="Name" KeepCurrentSelection="true"
            PageSize="10" ShowBorder="true" ShowHeader="false"
            AllowPaging="false" runat="server" EnableCheckBoxSelect="True"
            DataKeyNames="Id,Name" IsDatabasePaging="true" OnPageIndexChange="GridList_PageIndexChange"
            AllowSorting="false" SortField="Code" SortDirection="ASC"
            OnSort="GridList_Sort">
                        <PageItems>
                <f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
                </f:ToolbarSeparator>
                <f:ToolbarText ID="ToolbarText1" runat="server" Text="每页记录数：">
                </f:ToolbarText>
                <f:DropDownList ID="ddlGridPageSize" Width="80px" AutoPostBack="true" OnSelectedIndexChanged="ddlGridPageSize_SelectedIndexChanged"
                    runat="server">
                    <f:ListItem Text="10" Value="10" />
                    <f:ListItem Text="20" Value="20" />
                    <f:ListItem Text="50" Value="50" />
                    <f:ListItem Text="100" Value="100" />
                </f:DropDownList>
            </PageItems>
            <Columns>
                <f:RowNumberField />
                        <f:BoundField ColumnID="SN" DataField="SN" HeaderText="条码" Width="150px" />
                        <f:BoundField ColumnID="Code" DataField="Code" HeaderText="商品编号" Width="150px" />
                        <f:BoundField ColumnID="ShortName" DataField="ShortName" HeaderText="商品简称" Width="150px" />
                        <f:BoundField ColumnID="ProductType" DataField="ProductType.Name" HeaderText="商品类型" Width="150px" />
                        <f:BoundField ColumnID="Brand" DataField="Brand.Name" HeaderText="品牌" Width="150px" />
                        <f:BoundField ColumnID="Name" DataField="Name" HeaderText="商品全称" Width="150px" />
                        <f:BoundField ColumnID="DefaultSupplier" DataField="DefaultSupplier.Name" HeaderText="默认供应商" Width="150px" />
                        <f:BoundField ColumnID="ProductUnit" DataField="ProductUnit.Name" HeaderText="单位" Width="150px" />
                        <f:BoundField ColumnID="Level" DataField="Level" HeaderText="等级" Width="150px" />
                        <f:BoundField ColumnID="Specifications" DataField="Specifications" HeaderText="规格" Width="150px" />
                        <f:BoundField ColumnID="Model" DataField="Model" HeaderText="型号" Width="150px" />
                        <f:BoundField ColumnID="Weight" DataField="Weight" HeaderText="重量" Width="150px" />
                        <f:BoundField ColumnID="Unit" DataField="Unit" HeaderText="单位" Width="150px" />
                        <f:BoundField ColumnID="ImgUrl1" DataField="ImgUrl1" HeaderText="图片1" Width="150px" />
                        <f:BoundField ColumnID="ImgUrl2" DataField="ImgUrl2" HeaderText="图片2" Width="150px" />
                        <f:BoundField ColumnID="ImgUrl3" DataField="ImgUrl3" HeaderText="图片3" Width="150px" />
                        <f:BoundField ColumnID="ImgUrl4" DataField="ImgUrl4" HeaderText="图片4" Width="150px" />
                        <f:BoundField ColumnID="ImgUrl5" DataField="ImgUrl5" HeaderText="图片5" Width="150px" />
                        <f:BoundField ColumnID="Year" DataField="Year" HeaderText="年份" Width="150px" />
                        <f:BoundField ColumnID="MarketTime" DataField="MarketTime" HeaderText="上市时间" Width="150px" />
                        <f:BoundField ColumnID="Outline" DataField="Outline" HeaderText="明细概要" Width="150px" />
                        <f:BoundField ColumnID="Explain" DataField="Explain" HeaderText="产品说明" Width="150px" />
                        <f:BoundField ColumnID="TechnicalParameter" DataField="TechnicalParameter" HeaderText="技术参数" Width="150px" />
                        <f:BoundField ColumnID="CommonProblem" DataField="CommonProblem" HeaderText="常见问题" Width="150px" />
                        <f:BoundField ColumnID="Remark" DataField="Remark" HeaderText="备注"  ExpandUnusedSpace="true" />
                        <f:BoundField ColumnID="MarkedPrice" DataField="MarkedPrice" HeaderText="标价" Width="150px" />
                        <f:BoundField ColumnID="DefaultCostPrice" DataField="DefaultCostPrice" HeaderText="默认成本价" Width="150px" />
                        <f:BoundField ColumnID="RetailPrice" DataField="RetailPrice" HeaderText="零售价" Width="150px" />
                        <f:BoundField ColumnID="VIPPrice1" DataField="VIPPrice1" HeaderText="VIP价1" Width="150px" />
                        <f:BoundField ColumnID="VIPPrice2" DataField="VIPPrice2" HeaderText="VIP价2" Width="150px" />
                        <f:BoundField ColumnID="VIPPrice3" DataField="VIPPrice3" HeaderText="VIP价3" Width="150px" />
                        <f:BoundField ColumnID="VIPPrice4" DataField="VIPPrice4" HeaderText="VIP价4" Width="150px" />
                        <f:BoundField ColumnID="TradePrice1" DataField="TradePrice1" HeaderText="批发价1" Width="150px" />
                        <f:BoundField ColumnID="TradePrice2" DataField="TradePrice2" HeaderText="批发价2" Width="150px" />
                        <f:BoundField ColumnID="TradePrice3" DataField="TradePrice3" HeaderText="批发价3" Width="150px" />
                        <f:BoundField ColumnID="TradePrice4" DataField="TradePrice4" HeaderText="批发价4" Width="150px" />
                        <f:BoundField ColumnID="TradePrice5" DataField="TradePrice5" HeaderText="批发价5" Width="150px" />
                        <f:BoundField ColumnID="TradePrice6" DataField="TradePrice6" HeaderText="批发价6" Width="150px" />
                        <f:BoundField ColumnID="TradePrice7" DataField="TradePrice7" HeaderText="批发价7" Width="150px" />
                        <f:BoundField ColumnID="TradePrice8" DataField="TradePrice8" HeaderText="批发价8" Width="150px" />
                        <f:BoundField ColumnID="FocusTracking" DataField="FocusTracking" HeaderText="重点跟踪" Width="150px" />
                        <f:BoundField ColumnID="IsNew" DataField="IsNew" HeaderText="新品" Width="150px" />
                        <f:BoundField ColumnID="EasyStock" DataField="EasyStock" HeaderText="易断货商品" Width="150px" />
                        <f:BoundField ColumnID="IsOil" DataField="IsOil" HeaderText="售油机用油" Width="150px" />
                        <f:BoundField ColumnID="IsOilSales" DataField="IsOilSales" HeaderText="售油机" Width="150px" />
                        <f:BoundField ColumnID="ExchangeIntegral" DataField="ExchangeIntegral" HeaderText="兑换积分" Width="150px" />
                        <f:BoundField ColumnID="FrontDesk" DataField="FrontDesk" HeaderText="前台赠送" Width="150px" />
                        <f:BoundField ColumnID="NoIntegral" DataField="NoIntegral" HeaderText="不积分" Width="150px" />
                        <f:BoundField ColumnID="NoDiscount" DataField="NoDiscount" HeaderText="特价商品不打折" Width="150px" />
                        <f:BoundField ColumnID="Enable" DataField="Enable" HeaderText="停用" Width="150px" />
                        <f:BoundField ColumnID="ManageSerialNum" DataField="ManageSerialNum" HeaderText="管理序列号" Width="150px" />
            </Columns>
        </f:Grid>
    </Items>
</f:Panel>
